package cn.edu.scau.cmi.ema.service;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Adulterlink;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface AdulterlinkService {

	public Adulterlink saveAdulterlink(Adulterlink adulterlink);

	public Set<Adulterlink> loadAdulterlinks();

	public Set<Adulterlink> loadReferenceAdulterlinks(Set<Adulterlink> adulterlinks);

	public Set<Adulterlink> loadAdulterlinksByIdSet(Set<Integer> adulterlinksId);

	public Map<String, ?> loadAdulterlinkObjectReferencedSet(Adulterlink adulterlink);

	public Map<String, ?> loadAdulterlinkClassReferencedSet(Adulterlink adulterlink);

	public void deleteAdulterlink(Adulterlink adulterlink);

	public void deleteAdulterlinks(Set<Integer> deleteAdulterlinksId);

	public List<Adulterlink> findAllAdulterlinks(Integer startResult, Integer maxRows);

	public Adulterlink findAdulterlinkByPrimaryKey(Integer id);

	public Integer countAdulterlinks();

	public Integer countAdulterlinks(CmiPagination page);

	public Integer countAdulterlinksByName(String queryName);

	public Integer countAdulterlinksByDetachedCriteria(CmiPagination page);

}
